unit 2

UNIT II: NoSQL & MongoDB

  1. Trace the history and evolution of NoSQL databases.
    Answer:
  1. Explain the limitations of relational databases that led to the emergence of NoSQL.
    Answer:
  1. Discuss ACID properties and BASE properties with suitable examples.
    Answer:
  1. Explain the CAP theorem and its implications in distributed databases.
    Answer:
  1. Compare SQL and NoSQL databases in terms of scalability, schema, and performance.
    Answer:
  1. Discuss advantages and disadvantages of NoSQL databases.
    Answer:
    Advantages:
  1. Explain different categories of NoSQL databases with examples.
    Answer:
  1. Describe key-value and columnar databases in detail.
    Answer:
  1. Explain document-oriented and graph databases with use cases.
    Answer:
  1. Discuss MongoDB design philosophy and non-relational approach.
    Answer:
  1. Explain JSON-based document storage and its advantages.
    Answer:
  1. Compare JSON and BSON formats used in MongoDB.
    Answer:
  1. Explain MongoDB data model and document-based architecture.
    Answer:
  1. Describe the role of the _id field and indexing in MongoDB.
    Answer:
  1. Explain CRUD operations in MongoDB with examples.
    Answer:
  1. Discuss conditional operators and regular expressions in MongoDB queries.
    Answer:
  1. Explain aggregation framework and aggregate() function in MongoDB.
    Answer:
  1. Describe MapReduce in MongoDB and its working mechanism.
    Answer:
  1. Explain performance vs features trade-offs in MongoDB.
    Answer:
  1. Discuss MongoDB document data model approach with a real-world application.
    Answer: